package com.mo.service;

import com.github.pagehelper.PageInfo;
import com.mo.model.TCustomer;
import com.mo.query.CustomerQuery;
import com.mo.result.CustomerExcel;

import java.util.List;

/**
 * @author mo
 * version
 */
public interface CustomerService {
    Boolean saveCustomer(CustomerQuery customerQuery);

    PageInfo<TCustomer> getCustomersByPage(Integer current);

    List<CustomerExcel> getCustomerByExcel(List<String> idList);

    int deleteCustomer(Integer id);

    TCustomer getCustomersById(Integer id);
}
